home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000076_news@newsmaster….columbia.edu _Thu Jul 17 14:07:02 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA15258
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 17 Jul 1997 14:07:01 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA20277
for kermit.misc@watsun; Thu, 17 Jul 1997 14:07:01 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Using TELNET with a dialup connection with CKermit 6.0.192 on NextStep
Date: 17 Jul 1997 18:06:53 GMT
Organization: Columbia University
Lines: 62
Message-ID: <5qlmvt$4h8$1@apakabar.cc.columbia.edu>
References: <5qjs23$nnf@andromeda.rutgers.edu>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7347
In article <5qjs23$nnf@andromeda.rutgers.edu>,
Steven C. Perkins <sperkins@andromeda.rutgers.edu> wrote:
: I am trying to use CKERMIT to make a TCP/IP connection to my dialup server.
: I suspect I am doing something wrong or that the NeXTStep version does not
: support TELNET connections.
:
: I make a modem connection to my server. I give a PPP default command and
: get the IP address and connection. I then escape to the Kermit prompt and
: set network tcp/ip, set host to the server and seem to get a reset of my
: modem and the program hangs.
:
You have made the serial connection, started PPP on the remote terminal
server, but you have not started PPP on NeXTSTEP, and so there is no PPP
connection. Somehow you have to get NeXTSTEP PPP to use the connection you
have just made with Kermit. Quite honestly, I have no idea how to do this,
or even if it can be done.
C-Kermit can use a PPP connection that is already there via "set network
tcp/ip, set host blah", etc, but UNIX does not provide a good way for Kermit
to make the serial connection itself and then hand it over to PPP.
>From our FAQ:
http://www.columbia.edu/kermit/faq.html
ftp://kermit.columbia.edu/kermit/faq.txt
27 HOW CAN I EXIT FROM C-KERMIT WITHOUT HANGING UP?
:
Many people want to be able to make a dialout connection with UNIX C-Kermit,
but then use some other software on the connection that C-Kermit made. They
quickly find that when they exit from C-Kermit, that the connection is gone
before they can start the other application.
It is a fundamental property of UNIX that when a process exits, then every file
that was opened by that process is automatically closed by UNIX. Closing a
terminal device (such as a dialout tty device) hangs it up (by turning off the
DTR signal). There is nothing the process can do about it.
However, many workarounds are possible. Here are just a few:
- Tell C-Kermit to SET MODEM HANGUP-METHOD RS232, and then configure
your modem to ignore DTR (not recommended).
- Read about the REDIRECT command in the second edition of Using
C-Kermit.
- Find out the file descriptor of the open device (it is given by
C-Kermit's \v(ttyfd) variable) and then run ("!") your other program
from the C-Kermit prompt, feeding it the file descriptor, e.g.
through shell redirection or a command line option (the method
depends on the other program, the capabilities of the shell, etc).
- After Kermit makes the connection, type "show comm" to find out the
filename of the lock file. Then suspend Kermit, delete the lock
file, then start the other program and tell it to open the same tty
device.
Note that you can also tell C-Kermit to use a communications file descriptor
created by another process; see the command-line options list in "Using
C-Kermit", 2nd edition.
- Frank